<#macro userInfo userModel>
<div class="user-block clearfix">
	<img id="lftHead" src="<#if loginEmployee.avatarPic?? && loginEmployee.avatarPic != "" && loginEmployee.avatarPic?index_of("http") == 0>${loginEmployee.avatarPic}@50h_50w_1e_1c<#else>${defaultAvatar}</#if>" alt="用户头像">
	<div class="detail">
		<#if (loginEmployee.empName)??>
			<#if (loginEmployee.orgId)?? && loginEmployee.orgId==1>
				<a style="color:#BECFE0;" href="${basePath}/main/profile" title="点击查看个人详情"><strong>${loginEmployee.empName}</strong></a>
			<#else>
				<strong>${loginEmployee.empName}</strong>
			</#if>
		<#else>
			<strong>未设置姓名</strong>
		</#if>
		<ul class="list-inline">
			<li></li>
			<#if (loginEmployee.orgId)?? && loginEmployee.orgId==1>
				<li><a href="${basePath}/main/index">个人首页</a></li>
			</#if>
			<!--<li><a href="${basePath}/resources/inbox.html" class="no-margin">Inbox</a></li>-->
		</ul>
	</div>
</div><!-- /user-block -->
</#macro>